﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Web.CrmContacto.Code;
using Web.Framework;

namespace CrmContacto.WebApp.App
{
    public partial class Permisos : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                var operations = WebServiceHelper.GetOperationsForUser(BaseWebPage.ApplicationId, BaseWebPage.CompanyId, BaseWebPage.UserName);
                bulletList.DataSource = operations;
                bulletList.DataBind();
            }
            catch (Exception ex)
            {
                ExceptionManager.Instance.HandleException(ex);
            }
        }
    }
}